package partner_secondhand

import (
	"gitee.com/theegg/go-brick/app/modules/partner_api/partner_secondhand/partner_secondhand_api"
	"github.com/gin-gonic/gin"
)

func InitPartnerSecondhandRoute(routerGroup *gin.RouterGroup) {
	// 二手 - 商品
	routerGroup.POST("/sh/goods/list", partner_secondhand_api.GetShGoodsList)
	routerGroup.POST("/sh/goods/uploadImage", partner_secondhand_api.ShGoodsImageUpload)
	routerGroup.POST("/sh/goods/add", partner_secondhand_api.ShGoodsAdd)
	routerGroup.POST("/sh/goods/status", partner_secondhand_api.ShGoodsStatus)

	// 租户 - 二手 - 评论
	routerGroup.POST("/sh/comment/list", partner_secondhand_api.GetShGoodsList)
	routerGroup.POST("/sh/comment/add", partner_secondhand_api.GetShGoodsList)
	routerGroup.POST("/sh/comment/status", partner_secondhand_api.GetShGoodsList)
	routerGroup.POST("/sh/comment/del", partner_secondhand_api.GetShGoodsList)
}
